package p270jp.pxv.android.setting.presentation.flux;

import androidx.lifecycle.AbstractC0720j0;
import java.util.List;
import p060c2.Chain;
import p159fi.FirebaseEventLogger;
import p270jp.pxv.android.commonObjects.model.AppTheme;
import p325m0.MutabilityOwnership;
import p395oh.AppThemeService;
import p401ol.RadioButtonStatus;
import p450ql.AppThemeSettingAction;
import p493sf.AbstractC6043c;
import p571vf.AndroidVersion;

/* compiled from: AppThemeSettingActionCreator.kt */
/* renamed from: jp.pxv.android.setting.presentation.flux.AppThemeSettingActionCreator */
/* loaded from: classes2.dex */
public final class AppThemeSettingActionCreator extends AbstractC0720j0 {

    /* renamed from: c */
    public final AppThemeService f19322c;

    /* renamed from: d */
    public final AndroidVersion f19323d;

    /* renamed from: e */
    public final FirebaseEventLogger f19324e;

    /* renamed from: f */
    public final AbstractC6043c f19325f;

    public AppThemeSettingActionCreator(AppThemeService aVar, AndroidVersion bVar, FirebaseEventLogger cVar, AbstractC6043c cVar2) {
        MutabilityOwnership.m3745m(aVar, "appThemeService");
        MutabilityOwnership.m3745m(cVar, "firebaseEventLogger");
        MutabilityOwnership.m3745m(cVar2, "dispatcher");
        this.f19322c = aVar;
        this.f19323d = bVar;
        this.f19324e = cVar;
        this.f19325f = cVar2;
    }

    /* renamed from: d */
    public final void m4557d() {
        AppTheme a = this.f19322c.m3256a();
        List B = Chain.m9958B(new RadioButtonStatus.C5464c(a.isLight()), new RadioButtonStatus.C5463b(a.isDark()));
        if (this.f19323d.m1121e()) {
            B.add(0, new RadioButtonStatus.C5465d(a.isSystemDefault()));
        } else {
            B.add(new RadioButtonStatus.C5462a(a.isBatterySaver()));
        }
        this.f19325f.mo2437b(new AppThemeSettingAction.C5848b(B));
    }
}
